package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.LeaveRetire;

/**
 * 离退休申请Mapper接口
 * 
 * @author ruoyi
 * @date 2023-11-21
 */
public interface LeaveRetireMapper 
{
    /**
     * 查询离退休申请
     * 
     * @param id 离退休申请主键
     * @return 离退休申请
     */
    public LeaveRetire selectLeaveRetireById(Long id);

    /**
     * 查询离退休申请列表
     * 
     * @param leaveRetire 离退休申请
     * @return 离退休申请集合
     */
    public List<LeaveRetire> selectLeaveRetireList(LeaveRetire leaveRetire);

    /**
     * 新增离退休申请
     * 
     * @param leaveRetire 离退休申请
     * @return 结果
     */
    public int insertLeaveRetire(LeaveRetire leaveRetire);

    /**
     * 修改离退休申请
     * 
     * @param leaveRetire 离退休申请
     * @return 结果
     */
    public int updateLeaveRetire(LeaveRetire leaveRetire);

    /**
     * 删除离退休申请
     * 
     * @param id 离退休申请主键
     * @return 结果
     */
    public int deleteLeaveRetireById(Long id);

    /**
     * 批量删除离退休申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLeaveRetireByIds(Long[] ids);
}
